<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@include file="/WEB-INF/webpage/common/taglibs.jspf"%>
<!DOCTYPE html>
<html>
<head>
  <title>考勤信息列表</title>
  <meta name="decorator" content="list"/>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <html:css  name="iCheck,Validform,jquery-ztree,easy-ui"/>
  <html:js  name="iCheck,Validform,jquery-ztree,easy-ui,public-js,common-custom,activiti-js"/>
  <style type="text/css">.row{margin:0;}</style>
  <script type="text/javascript" src="${staticPath}/common/js/curdtools_jqgrid_extend.js"></script>
  <script type="text/javascript" src="${staticPath}/modules/activiti/js/workflow.js"></script>
</head>
<body title="考勤信息">
<div class="easyui-layout" fit="true" id="cc" style="width:100%;">
	<div data-options="region:'center'" title="考勤信息">
		<grid:grid id="hrAttendanceGridId" url="${adminPath}/resources/hrattendance/ajaxList" >
			<grid:column label="sys.common.key" hidden="true"   name="id" width="100"/>
		    <grid:column label="单位名称"  name="orgName" />
		    <grid:column label="应出勤人数"  name="expected" />
		    <grid:column label="实际出勤人数"  name="actual" />
		    <grid:column label="请假人数"  name="leave" />
		    <grid:column label="出差人数"  name="business" />
		    <grid:column label="公司编码"  name="code" />
			<grid:column label="sys.common.opt"  name="opt" formatter="button" width="100"/>
			<shiro:hasPermission name="resources:hrattendance:update ">
				<grid:button title="sys.common.update"  groupname="opt" function="rowDialog" outclass="btn-success"
					  innerclass="fa-file-text-o" url="${adminPath}/resources/hrattendance/\"+row.id+\"/update" />
			</shiro:hasPermission>
			<shiro:hasPermission name="resources:hrattendance:create">
				<grid:toolbar function="create"/>
			</shiro:hasPermission>
			<shiro:hasPermission name="resources:hrattendance:delete">
				<grid:toolbar function="delete"/>
			</shiro:hasPermission>
			
			<grid:toolbar function="search"/>
			<grid:toolbar function="reset"/>
		</grid:grid>
	</div>
</div>
</body>
</html>